package 注解;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface MyAnnotation {
    String color() default "pink";

    String value() default "0";

    int[] argumentArrray() default {1, 2, 3};

    Gender gender() default Gender.Man;

    MataAnnotation mataAnnotation() default @MataAnnotation(birthday = "2001-04-01 00:00:00");
}
